package org.jeecg.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.mbg.model.EsProduct;
import org.jeecg.mbg.model.EsProductExample;

public interface EsProductMapper {
    long countByExample(EsProductExample example);

    int deleteByExample(EsProductExample example);

    int deleteByPrimaryKey(String id);

    int insert(EsProduct record);

    int insertSelective(EsProduct record);

    List<EsProduct> selectByExample(EsProductExample example);

    EsProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") EsProduct record, @Param("example") EsProductExample example);

    int updateByExample(@Param("record") EsProduct record, @Param("example") EsProductExample example);

    int updateByPrimaryKeySelective(EsProduct record);

    int updateByPrimaryKey(EsProduct record);
}